A very simple fluka-mode for emacs has been developed. The present version provides highlighting for the fluka keywords.
You first need to download the emacs lisp file fluka-mode.elc.
If you have root privileges you should already know how to add it to the other emacs elc files. Instead if you are a simple user these are the few steps you need to do to make it work:
mkdir ~/.lisp
mv fluka-mode.elc ~/.lisp/
(autoload 'fluka-mode "~/.lisp/fluka-mode.elc" "FLUKA Mode." t) (or (assoc "\\.fluka$" auto-mode-alist) (setq auto-mode-alist (cons '("\\.fluka$" . fluka-mode) auto-mode-alist))) (autoload 'fluka-mode "~/.lisp/fluka-mode.elc" "FLUKA Mode." t) (or (assoc "\\.inp$" auto-mode-alist) (setq auto-mode-alist (cons '("\\.inp$" . fluka-mode) auto-mode-alist)))
Clearly you can also use a different name for the .lisp directory.
Roberto Versaci
Last updated: 15th of January, 2010